import { Module } from "@nestjs/common";
import { StoreService } from "./store.service";
import { DiscoveryModule } from "@nestjs/core";

@Module({})
export class StoreModule {
    static forRoot() {
        return {
            global: true,
            module: StoreModule,
            imports: [DiscoveryModule],
            providers: [StoreService],
            exports: [StoreService],
        };
    }
}
